﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage_Edit.master" AutoEventWireup="true" CodeFile="SupplierEdit.aspx.cs" Inherits="Phone_SupplierEdit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Title" runat="Server">
    <a href="PhoneTypeList.aspx">产品分类管理</a><span>-新增</span>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" runat="Server">
    <div class="ht-panel-edit">
        <table class="ht-edit-table">
            <tr>
                <th>供应商分类：</th>
                <td>
                    <asp:DropDownList ID="ddl_SupplierType" runat="server" CssClass="ht-select"></asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="不能为空" InitialValue="0"
                        ControlToValidate="ddl_SupplierType" ValidationGroup="Check"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th>供应商名称：</th>
                <td>
                    <asp:TextBox ID="txt_SupplierName" runat="server" CssClass="ht-textbox"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="不能为空" ControlToValidate="txt_SupplierName"
                         ValidationGroup="Check"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th>品牌名：</th>
                <td>
                    <asp:TextBox ID="txt_ConpanyName" runat="server" CssClass="ht-textbox"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>联系人姓名：</th>
                <td>
                    <asp:TextBox ID="txt_Contact" runat="server" CssClass="ht-textbox"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>性别：</th>
                <td>
                    <asp:RadioButtonList ID="rbl_Gender" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal" CssClass="ht-radiolist">
                        <asp:ListItem Text="男" Value="1" Selected="True"></asp:ListItem>
                        <asp:ListItem Text="女" Value="0"></asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <th>联系人手机：</th>
                <td>
                    <asp:TextBox ID="txt_Phone" runat="server" CssClass="ht-textbox"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>固定电话：</th>
                <td>
                    <asp:TextBox ID="txt_Tel" runat="server" CssClass="ht-textbox"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>联系人QQ：</th>
                <td>
                    <asp:TextBox ID="txt_QQ" runat="server" CssClass="ht-textbox"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>阿里旺旺：</th>
                <td>
                    <asp:TextBox ID="txt_Wangwang" runat="server" CssClass="ht-textbox"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>供应商地址：</th>
                <td>
                    <asp:TextBox ID="txt_Adress" runat="server" CssClass="ht-textbox"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>网址：</th>
                <td>
                    <asp:TextBox ID="txt_Webside" runat="server" CssClass="ht-textbox"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>供应商备注：</th>
                <td>
                    <asp:TextBox ID="txt_Description" runat="server" CssClass="ht-area" TextMode="MultiLine" Width="600" Height="200"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>是否启用：</th>
                <td>
                    <asp:CheckBox ID="ch_Valid" runat="server" Checked="false" />
                </td>
            </tr>
        </table>
    </div>

</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="Buttoms" runat="Server">
    <a id="btn_Add" runat="server" href="SupplierEdit.aspx?Action=HAdd" class="easyui-linkbutton" data-options="iconCls:'icon-add'">新增</a>
    <asp:LinkButton ID="btn_Modify" runat="server" Text="编辑" OnClick="btn_Modify_Click" CssClass="easyui-linkbutton" data-options="iconCls:'icon-edit'" />
    <asp:LinkButton ID="btn_Save" runat="server" Text="保存" OnClick="btn_Save_Click" CssClass="easyui-linkbutton" data-options="iconCls:'icon-save'"  ValidationGroup="Check"/>
    <%--<asp:LinkButton ID="btn_Back" runat="server" Text="返回" PostBackUrl="SupplierList.aspx" CssClass="easyui-linkbutton" data-options="iconCls:'icon-back'" />--%>
    <a id="btn_Back" runat="server" href="javascript:Cancel()" class="easyui-linkbutton" data-options="iconCls:'icon-back'">返回</a>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="Footer" runat="Server">
</asp:Content>

